Spaces:
Sleeping
Sleeping
Sandhya
commited on
Commit
·
715b925
1
Parent(s):
e58b884
First Commit
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ def create_gradio_app():
|
|
| 80 |
gr.Markdown("## 🤖 Model Card Chatbot\nAsk questions about Hugging Face model card")
|
| 81 |
with gr.Row():
|
| 82 |
model_id=gr.Textbox(label="MODEL ID", value="google/gemma-2-2b")
|
| 83 |
-
user_input=gr.Textbox(label="Your Question"
|
| 84 |
send=gr.Button("Ask")
|
| 85 |
output=gr.Markdown()
|
| 86 |
send.click(fn=chat_function,inputs=[user_input,model_id],outputs=output)
|
|
|
|
| 80 |
gr.Markdown("## 🤖 Model Card Chatbot\nAsk questions about Hugging Face model card")
|
| 81 |
with gr.Row():
|
| 82 |
model_id=gr.Textbox(label="MODEL ID", value="google/gemma-2-2b")
|
| 83 |
+
user_input=gr.Textbox(label="Your Question")
|
| 84 |
send=gr.Button("Ask")
|
| 85 |
output=gr.Markdown()
|
| 86 |
send.click(fn=chat_function,inputs=[user_input,model_id],outputs=output)
|