Spaces:
Sleeping
Sleeping
Pranjal Gupta commited on
Commit ·
cdcdad2
1
Parent(s): c791c6d
ui changed
Browse files
app.py
CHANGED
|
@@ -191,7 +191,7 @@ with gr.Blocks(title="Contextual RAG Chatbot on Hugging Face Spaces") as demo:
|
|
| 191 |
|
| 192 |
hf_token_textbox = gr.Interface(fn=tokenFunc, inputs="textbox")
|
| 193 |
|
| 194 |
-
print("toeken =---------->", hf_token_textbox)
|
| 195 |
|
| 196 |
chatbot = gr.ChatInterface(
|
| 197 |
fn=lambda message, history: gradio_rag_wrapper(message, history, hf_token_textbox.value),
|
|
|
|
| 191 |
|
| 192 |
hf_token_textbox = gr.Interface(fn=tokenFunc, inputs="textbox")
|
| 193 |
|
| 194 |
+
print("toeken =---------->", hf_token_textbox[0])
|
| 195 |
|
| 196 |
chatbot = gr.ChatInterface(
|
| 197 |
fn=lambda message, history: gradio_rag_wrapper(message, history, hf_token_textbox.value),
|