Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
0812206
1
Parent(s):
93bf4fb
README update
Browse files
.gradio/cached_examples/21/indices.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
0
|
| 2 |
+
1
|
| 3 |
+
2
|
.gradio/cached_examples/21/log.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Chatbot,timestamp
|
| 2 |
+
"[[""Hello there! How are you doing?"", ""Hello! I'm doing great, thanks for asking. How can I assist you today?""]]",2025-12-05 10:35:54.190200
|
| 3 |
+
"[[""Can you write a Python program that adds two numbers?"", ""**Number Addition Program**\n==========================\n\n### Overview\n\nThis program takes two numbers as input and returns their sum.\n\n### Code\n\n```python\ndef add_numbers(num1: float, num2: float) -> float:\n \""\""\""\n Adds two numbers and returns the result.\n\n Args:\n num1 (float): The first number.\n num2 (float): The second number.\n\n Returns:\n float: The sum of num1 and num2.\n \""\""\""\n return num1 + num2\n\ndef main():\n # Example usage\n num1 = float(input(\""Enter the first number: \""))\n num2 = float(input(\""Enter the second number: \""))\n result = add_numbers(num1, num2)\n print(f\""The sum of {num1} and {num2} is {result}\"")\n\nif __name__ == \""__main__\"":\n main()\n```\n\n### Explanation\n\n1. The `add_numbers` function takes two `float` arguments, `num1` and `num2`, and returns their sum.\n2. The `main` function demonstrates how to use the `add_numbers` function by taking user input for the two numbers, calling the function, and printing the result.\n3. The `if __name__ == \""__main__\"":` block ensures that the `main` function is only executed when the script is run directly, not when it's imported as a module.\n\n### Example Use Case\n\n```\nEnter the first number: 5\nEnter the second number: 7\nThe sum of 5.0 and 7.0 is 12.0\n```""]]",2025-12-05 10:35:56.849988
|
| 4 |
+
"[[""Which one of these mountains is not located in Europe? Hoverla, Mont-Blanc, Gran Paradiso, Everest"", ""Everest is not located in Europe. It is the highest mountain in the world, located in the Himalayas on the border between Nepal and Tibet, China.""]]",2025-12-05 10:35:57.207845
|
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: Rnj
|
| 3 |
emoji: 💬
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: purple
|
|
@@ -13,4 +13,3 @@ hf_oauth_scopes:
|
|
| 13 |
license: apache-2.0
|
| 14 |
---
|
| 15 |
|
| 16 |
-
An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Rnj-1 Instruct Space
|
| 3 |
emoji: 💬
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: purple
|
|
|
|
| 13 |
license: apache-2.0
|
| 14 |
---
|
| 15 |
|
|
|