annanurov commited on
Commit
0b329dc
·
verified ·
1 Parent(s): ef03b00

edited variable names, removed import requests

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -9,7 +9,7 @@ def install_dependencies():
9
  install_dependencies()
10
 
11
  import streamlit as st
12
- import requests
13
  import json
14
  import os
15
  from huggingface_hub import InferenceClient
@@ -98,7 +98,7 @@ if run and user_input.strip():
98
  try:
99
  ### get and handle response here
100
  # reponse = get_llm_response(user_prompt=question_text)
101
- reponse = get_llm_response(user_prompt=user_input)
102
 
103
  # show_response(question_text, response_text)
104
  show_response(user_input, response)
 
9
  install_dependencies()
10
 
11
  import streamlit as st
12
+ # import requests
13
  import json
14
  import os
15
  from huggingface_hub import InferenceClient
 
98
  try:
99
  ### get and handle response here
100
  # reponse = get_llm_response(user_prompt=question_text)
101
+ response = get_llm_response(user_prompt=user_input)
102
 
103
  # show_response(question_text, response_text)
104
  show_response(user_input, response)