Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def resetChat():
|
|
| 113 |
print("Restarted!!!")
|
| 114 |
return True
|
| 115 |
|
| 116 |
-
def rag(input_text, history, jezik, file):
|
| 117 |
# if (btn):
|
| 118 |
# resetChat()
|
| 119 |
# print(history, input_text)
|
|
@@ -210,7 +210,7 @@ with gr.Blocks() as iface:
|
|
| 210 |
],
|
| 211 |
additional_inputs_accordion="Jezik i ostale opcije",
|
| 212 |
)
|
| 213 |
-
login_button = gr.LoginButton("Hugging Face login", size="lg")
|
| 214 |
ichat.clear_btn.click(resetChat)
|
| 215 |
|
| 216 |
#with gr.Blocks() as iface:
|
|
|
|
| 113 |
print("Restarted!!!")
|
| 114 |
return True
|
| 115 |
|
| 116 |
+
def rag(input_text, history, jezik): # , file):
|
| 117 |
# if (btn):
|
| 118 |
# resetChat()
|
| 119 |
# print(history, input_text)
|
|
|
|
| 210 |
],
|
| 211 |
additional_inputs_accordion="Jezik i ostale opcije",
|
| 212 |
)
|
| 213 |
+
# login_button = gr.LoginButton("Hugging Face login", size="lg")
|
| 214 |
ichat.clear_btn.click(resetChat)
|
| 215 |
|
| 216 |
#with gr.Blocks() as iface:
|