SandaAbhishekSagar commited on
Commit
1c1d558
·
1 Parent(s): 14b8bb5

made application shareable

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -52,8 +52,8 @@ interface = gr.Interface(
52
  gr.Image(label="Generated Image"),
53
  ],
54
  title="LinguaVision - Multilingual Chatbot with Image Generation",
55
- description="Enter text in any language to translate it into English and generate an image based on the text.",
56
  )
57
 
58
  if __name__ == "__main__":
59
- interface.launch()
 
52
  gr.Image(label="Generated Image"),
53
  ],
54
  title="LinguaVision - Multilingual Chatbot with Image Generation",
55
+ description="Enter text in any language to translate it into English and generate an image based on the text.\n NOTE: This tool takes approximately 12 minutes to execute.",
56
  )
57
 
58
  if __name__ == "__main__":
59
+ interface.launch(share=True)
requirements.txt CHANGED
@@ -3,4 +3,4 @@ transformers
3
  diffusers
4
  torch
5
  sentencepiece
6
- accelerate
 
3
  diffusers
4
  torch
5
  sentencepiece
6
+ Accelerate