Yash-dev-1744 commited on
Commit
9998bc3
·
1 Parent(s): f29fe89

first commit

Browse files
Files changed (2) hide show
  1. README.md +2 -0
  2. server.py +10 -1
README.md CHANGED
@@ -9,6 +9,8 @@ app_file: server.py
9
  pinned: false
10
  ---
11
 
 
 
12
  <iframe width="560" height="315" src="https://www.youtube.com/embed/0kAYAxU7YsQ?si=6ENuemAOXeLNyh-I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
13
 
14
 
 
9
  pinned: false
10
  ---
11
 
12
+ # Warning: This project may not work due to Hugging Face restrictions. Please check out the GitHub repo for the latest updates.
13
+
14
  <iframe width="560" height="315" src="https://www.youtube.com/embed/0kAYAxU7YsQ?si=6ENuemAOXeLNyh-I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
15
 
16
 
server.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import gradio as gr
2
  import pandas as pd
3
  import os
@@ -935,6 +937,13 @@ def create_interface():
935
  """Create the Gradio interface"""
936
 
937
  with gr.Blocks(title="AI Database Query Assistant", theme=gr.themes.Soft()) as demo:
 
 
 
 
 
 
 
938
  gr.Markdown("""
939
  # 🤖 AI Database Query Assistant
940
 
@@ -1257,5 +1266,5 @@ if __name__ == "__main__":
1257
  #server_name="0.0.0.0",
1258
  server_port=7860,
1259
  share=False,
1260
- debug=True
1261
  )
 
1
+ # Warning: This project may not work due to Hugging Face restrictions. Please check out the GitHub repo for the latest updates.
2
+
3
  import gradio as gr
4
  import pandas as pd
5
  import os
 
937
  """Create the Gradio interface"""
938
 
939
  with gr.Blocks(title="AI Database Query Assistant", theme=gr.themes.Soft()) as demo:
940
+ # Warning banner at the top
941
+ gr.Markdown("""
942
+ <div style="background-color: #FFF3CD; color: #856404; padding: 15px; border-radius: 5px; border: 1px solid #FFEEBA; margin-bottom: 20px; font-weight: bold; text-align: center;">
943
+ ⚠️ WARNING: This project may not work due to Hugging Face restrictions. Please check out the GitHub repo for the latest updates.
944
+ </div>
945
+ """)
946
+
947
  gr.Markdown("""
948
  # 🤖 AI Database Query Assistant
949
 
 
1266
  #server_name="0.0.0.0",
1267
  server_port=7860,
1268
  share=False,
1269
+ debug=False
1270
  )