Spaces:
Runtime error
Runtime error
deema
commited on
Commit
•
b8adfc6
1
Parent(s):
120d031
update app
Browse files
app.py
CHANGED
@@ -4,12 +4,8 @@ import gradio as gr
|
|
4 |
import pandas as pd
|
5 |
import random
|
6 |
from collections import defaultdict
|
7 |
-
import json
|
8 |
-
import os
|
9 |
-
import sys
|
10 |
from database import save_response
|
11 |
|
12 |
-
|
13 |
css = """
|
14 |
.rtl{
|
15 |
text-align: right;
|
@@ -19,7 +15,7 @@ css = """
|
|
19 |
}
|
20 |
"""
|
21 |
|
22 |
-
file_path = '
|
23 |
df = pd.read_json(file_path, orient='records', lines=False)
|
24 |
|
25 |
# that keeps track of how many times each question has been used
|
|
|
4 |
import pandas as pd
|
5 |
import random
|
6 |
from collections import defaultdict
|
|
|
|
|
|
|
7 |
from database import save_response
|
8 |
|
|
|
9 |
css = """
|
10 |
.rtl{
|
11 |
text-align: right;
|
|
|
15 |
}
|
16 |
"""
|
17 |
|
18 |
+
file_path = 'instructions/merged.json'
|
19 |
df = pd.read_json(file_path, orient='records', lines=False)
|
20 |
|
21 |
# that keeps track of how many times each question has been used
|