Spaces:
Sleeping
Sleeping
Sandhya
commited on
Commit
·
79ae0c1
1
Parent(s):
204ffcb
First Commit
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def create_gradio_app():
|
|
| 83 |
model_id=gr.Textbox(label="MODEL ID", value="google/gemma-2-2b",scale=2)
|
| 84 |
user_input=gr.Textbox(label="Your Question",placeholder="Ask something about the model card .....",lines=1, scale=3)
|
| 85 |
send=gr.Button("Ask")
|
| 86 |
-
chatbot=gr.Chatbot(label="chat",height=
|
| 87 |
send.click(fn=chat_function, inputs=[user_input,chatbot,model_id], outputs=[chatbot,user_input])
|
| 88 |
return demo
|
| 89 |
gradio_app=create_gradio_app()
|
|
|
|
| 83 |
model_id=gr.Textbox(label="MODEL ID", value="google/gemma-2-2b",scale=2)
|
| 84 |
user_input=gr.Textbox(label="Your Question",placeholder="Ask something about the model card .....",lines=1, scale=3)
|
| 85 |
send=gr.Button("Ask")
|
| 86 |
+
chatbot=gr.Chatbot(label="chat",height=50)
|
| 87 |
send.click(fn=chat_function, inputs=[user_input,chatbot,model_id], outputs=[chatbot,user_input])
|
| 88 |
return demo
|
| 89 |
gradio_app=create_gradio_app()
|