Spaces:
Runtime error
Runtime error
bhaskartripathi
commited on
Commit
•
6063fe1
1
Parent(s):
b3c1e3b
Update app.py
Browse files
app.py
CHANGED
@@ -85,6 +85,7 @@ gr.Interface(
|
|
85 |
).launch()
|
86 |
'''
|
87 |
|
|
|
88 |
with gr.Blocks() as demo:
|
89 |
gr.Markdown(f'<center><h1>Ask Lisa !</h1></center>')
|
90 |
gr.Markdown(f'<center><p>Powered by <a href="https://www.bhaskartripathi.com">www.bhaskartripathi.com</a></p></center>')
|
@@ -99,7 +100,7 @@ with gr.Blocks() as demo:
|
|
99 |
|
100 |
btn.style(full_width=True)
|
101 |
with gr.Group():
|
102 |
-
output_video = gr.outputs.Video()
|
103 |
btn.click(chatbot, inputs=[question,openAI_key], outputs=[output_video])
|
104 |
#openai.api_key = os.getenv('Your_Key_Here')
|
105 |
|
|
|
85 |
).launch()
|
86 |
'''
|
87 |
|
88 |
+
|
89 |
with gr.Blocks() as demo:
|
90 |
gr.Markdown(f'<center><h1>Ask Lisa !</h1></center>')
|
91 |
gr.Markdown(f'<center><p>Powered by <a href="https://www.bhaskartripathi.com">www.bhaskartripathi.com</a></p></center>')
|
|
|
100 |
|
101 |
btn.style(full_width=True)
|
102 |
with gr.Group():
|
103 |
+
output_video = gr.outputs.Video(width=200, height=200)
|
104 |
btn.click(chatbot, inputs=[question,openAI_key], outputs=[output_video])
|
105 |
#openai.api_key = os.getenv('Your_Key_Here')
|
106 |
|