Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -53,7 +53,9 @@ def generate(item: Item):
|
|
| 53 |
text = item.prompt
|
| 54 |
print(item.prompt)
|
| 55 |
labels = ["Requirement", "Information"]
|
|
|
|
| 56 |
stream = client.zero_shot_classification(text, labels)
|
|
|
|
| 57 |
#stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
| 58 |
output = ""
|
| 59 |
|
|
|
|
| 53 |
text = item.prompt
|
| 54 |
print(item.prompt)
|
| 55 |
labels = ["Requirement", "Information"]
|
| 56 |
+
print(labels)
|
| 57 |
stream = client.zero_shot_classification(text, labels)
|
| 58 |
+
print(stream)
|
| 59 |
#stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
|
| 60 |
output = ""
|
| 61 |
|