Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
|
4 |
DESCRIPTION = """\
|
5 |
# Llama-2 13B Chat
|
@@ -10,9 +10,9 @@ This Space demonstrates model [Llama-2-13b-chat](https://huggingface.co/meta-lla
|
|
10 |
"""
|
11 |
|
12 |
def greet(query, history):
|
13 |
-
|
14 |
-
|
15 |
-
return "this is the result"
|
16 |
|
17 |
|
18 |
sample_list = [
|
|
|
1 |
import gradio as gr
|
2 |
+
from confidence import run_nli
|
3 |
|
4 |
DESCRIPTION = """\
|
5 |
# Llama-2 13B Chat
|
|
|
10 |
"""
|
11 |
|
12 |
def greet(query, history):
|
13 |
+
results = run_nli(query, sample_size=3)
|
14 |
+
return results
|
15 |
+
#return "this is the result"
|
16 |
|
17 |
|
18 |
sample_list = [
|